import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
// 引入 createPinia
import { createPinia } from 'pinia';
// 引入持久化插件
import piniaPluginPersists from 'pinia-plugin-persist';

let store = createPinia();
store.use(piniaPluginPersists);
createApp(App).use(store).use(router).use(ElementPlus).mount('#app');
